<template>
  <div class="lineChart">
    <!-- {{data}} -->
    <echarts type='line' v-model="data" legend :dimensions='title' yName='' :series="series"></echarts>
    <!-- <myECharts v-model="dataS" :key='keyS' xName='供应商' yName='备件费/元' :dimensions='dimensionsS'></myECharts> -->
  </div>
</template>
<script>
import echarts from '_components/echarts/echarts.vue'

export default {
  name: 'index',
  components: {
    echarts
  },
  data() {
    return {
      // dimensions:['name','num'],
      series: [
        {
          type: 'line',
          name: "全部案件数",
          // barWidth: 8,
          // barColor:"#3CDAB1FF",
          itemStyle: {
            color: '#3CDAB1FF',
            barBorderRadius: [5, 5, 0, 0]
          },
        },
        {
          type: 'line',
          name: "电子送达数量",
          // barWidth: 8,
          // barColor:"#FDCA15FF",
          itemStyle: {
            color: '#FDCA15FF',
            barBorderRadius: [5, 5, 0, 0]
          },
        },
      ]
    }
  },
  props: {
    data: Array,
    title: Array
  },

  created() {
  },
  mounted() {
  },
  methods: {
  }
}
</script>
<style scoped>
.lineChart {

  width: 100%;
  height: 100%;
}

.head img {
  width: 100%;
  height: 100%;
}
</style>


<style>

</style>
